home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-07-24 | 6.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 cb 17 50 6f 77 65 72 | 50 43 20 53 79 73 74 65 |...Power|PC Syste|
|00000010| 6d 20 53 6f 66 74 77 61 | 72 65 08 43 6f 6e 74 65 |m Softwa|re.Conte|
|00000020| 6e 74 73 1d 46 69 67 75 | 72 65 73 2c 20 54 61 62 |nts.Figu|res, Tab|
|00000030| 6c 65 73 2c 20 61 6e 64 | 20 4c 69 73 74 69 6e 67 |les, and| Listing|
|00000040| 73 10 0d 41 62 6f 75 74 | 20 54 68 69 73 20 42 6f |s..About| This Bo|
|00000050| 6f 6b 16 0d 52 65 6c 61 | 74 65 64 20 44 6f 63 75 |ok..Rela|ted Docu|
|00000060| 6d 65 6e 74 61 74 69 6f | 6e 1b 46 6f 72 6d 61 74 |mentatio|n.Format|
|00000070| 20 6f 66 20 61 20 54 79 | 70 69 63 61 6c 20 43 68 | of a Ty|pical Ch|
|00000080| 61 70 74 65 72 1e 0d 43 | 6f 6e 76 65 6e 74 69 6f |apter..C|onventio|
|00000090| 6e 73 20 55 73 65 64 20 | 69 6e 20 54 68 69 73 20 |ns Used |in This |
|000000a0| 42 6f 6f 6b 0d 53 70 65 | 63 69 61 6c 20 46 6f 6e |Book.Spe|cial Fon|
|000000b0| 74 73 0e 54 79 70 65 73 | 20 6f 66 20 4e 6f 74 65 |ts.Types| of Note|
|000000c0| 73 1b 42 69 74 20 4e 75 | 6d 62 65 72 69 6e 67 20 |s.Bit Nu|mbering |
|000000d0| 61 6e 64 20 57 6f 72 64 | 20 53 69 7a 65 1e 46 69 |and Word| Size.Fi|
|000000e0| 67 75 72 65 20 50 2d 31 | 09 36 38 30 78 30 20 62 |gure P-1|.680x0 b|
|000000f0| 69 74 20 6e 75 6d 62 65 | 72 69 6e 67 20 46 69 67 |it numbe|ring Fig|
|00000100| 75 72 65 20 50 2d 32 09 | 50 6f 77 65 72 50 43 20 |ure P-2.|PowerPC |
|00000110| 62 69 74 20 6e 75 6d 62 | 65 72 69 6e 67 22 54 61 |bit numb|ering"Ta|
|00000120| 62 6c 65 20 50 2d 31 09 | 53 69 7a 65 73 20 6f 66 |ble P-1.|Sizes of|
|00000130| 20 6d 65 6d 6f 72 79 20 | 6f 70 65 72 61 6e 64 73 | memory |operands|
|00000140| 1e 0d 41 73 73 65 6d 62 | 6c 79 2d 4c 61 6e 67 75 |..Assemb|ly-Langu|
|00000150| 61 67 65 20 49 6e 66 6f | 72 6d 61 74 69 6f 6e 17 |age Info|rmation.|
|00000160| 44 65 76 65 6c 6f 70 6d | 65 6e 74 20 45 6e 76 69 |Developm|ent Envi|
|00000170| 72 6f 6e 6d 65 6e 74 15 | 0d 46 6f 72 20 4d 6f 72 |ronment.|.For Mor|
|00000180| 65 20 49 6e 66 6f 72 6d | 61 74 69 6f 6e 27 49 6e |e Inform|ation'In|
|00000190| 74 72 6f 64 75 63 74 69 | 6f 6e 20 74 6f 20 50 6f |troducti|on to Po|
|000001a0| 77 65 72 50 43 20 53 79 | 73 74 65 6d 20 53 6f 66 |werPC Sy|stem Sof|
|000001b0| 74 77 61 72 65 27 4f 76 | 65 72 76 69 65 77 20 6f |tware'Ov|erview o|
|000001c0| 66 20 74 68 65 20 50 6f | 77 65 72 50 43 20 53 79 |f the Po|werPC Sy|
|000001d0| 73 74 65 6d 20 53 6f 66 | 74 77 61 72 65 4f 46 69 |stem Sof|twareOFi|
|000001e0| 67 75 72 65 20 31 2d 31 | 09 0d 54 68 65 20 73 79 |gure 1-1|..The sy|
|000001f0| 73 74 65 6d 20 73 6f 66 | 74 77 61 72 65 20 66 6f |stem sof|tware fo|
|00000200| 72 20 50 6f 77 65 72 50 | 43 20 70 72 6f 63 65 73 |r PowerP|C proces|
|00000210| 73 6f 72 2d 62 61 73 65 | 64 20 4d 61 63 69 6e 74 |sor-base|d Macint|
|00000220| 6f 73 68 20 63 6f 6d 70 | 75 74 65 72 73 14 54 68 |osh comp|uters.Th|
|00000230| 65 20 36 38 4c 43 30 34 | 30 20 45 6d 75 6c 61 74 |e 68LC04|0 Emulat|
|00000240| 6f 72 12 45 6d 75 6c 61 | 74 6f 72 20 4f 70 65 72 |or.Emula|tor Oper|
|00000250| 61 74 69 6f 6e 14 45 6d | 75 6c 61 74 6f 72 20 4c |ation.Em|ulator L|
|00000260| 69 6d 69 74 61 74 69 6f | 6e 73 0c 43 6f 70 72 6f |imitatio|ns.Copro|
|00000270| 63 65 73 73 6f 72 73 13 | 49 6e 73 74 72 75 63 74 |cessors.|Instruct|
|00000280| 69 6f 6e 20 54 69 6d 69 | 6e 67 73 14 44 65 6c 65 |ion Timi|ngs.Dele|
|00000290| 74 65 64 20 49 6e 73 74 | 72 75 63 74 69 6f 6e 73 |ted Inst|ructions|
|000002a0| 21 0d 55 6e 73 75 70 70 | 6f 72 74 65 64 20 49 6e |!.Unsupp|orted In|
|000002b0| 73 74 72 75 63 74 69 6f | 6e 20 46 65 61 74 75 72 |structio|n Featur|
|000002c0| 65 73 12 49 6e 73 74 72 | 75 63 74 69 6f 6e 20 43 |es.Instr|uction C|
|000002d0| 61 63 68 65 73 18 41 64 | 64 72 65 73 73 20 45 72 |aches.Ad|dress Er|
|000002e0| 72 6f 72 20 45 78 63 65 | 70 74 69 6f 6e 73 14 42 |ror Exce|ptions.B|
|000002f0| 75 73 20 45 72 72 6f 72 | 20 45 78 63 65 70 74 69 |us Error| Excepti|
|00000300| 6f 6e 73 1b 4d 65 6d 6f | 72 79 2d 4d 61 70 70 65 |ons.Memo|ry-Mappe|
|00000310| 64 20 49 2f 4f 20 4c 6f | 63 61 74 69 6f 6e 73 0b |d I/O Lo|cations.|
|00000320| 0d 4d 69 78 65 64 20 4d | 6f 64 65 10 43 72 6f 73 |.Mixed M|ode.Cros|
|00000330| 73 2d 4d 6f 64 65 20 43 | 61 6c 6c 73 13 52 6f 75 |s-Mode C|alls.Rou|
|00000340| 74 69 6e 65 20 44 65 73 | 63 72 69 70 74 6f 72 73 |tine Des|criptors|
|00000350| 29 4c 69 73 74 69 6e 67 | 20 31 2d 31 09 43 72 65 |)Listing| 1-1.Cre|
|00000360| 61 74 69 6e 67 20 61 20 | 72 6f 75 74 69 6e 65 20 |ating a |routine |
|00000370| 64 65 73 63 72 69 70 74 | 6f 72 3e 4c 69 73 74 69 |descript|or>Listi|
|00000380| 6e 67 20 31 2d 32 09 54 | 68 65 20 64 65 66 69 6e |ng 1-2.T|he defin|
|00000390| 69 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 4e 65 77 |ition of| the New|
|000003a0| 43 6f 6e 74 72 6f 6c 41 | 63 74 69 6f 6e 50 72 6f |ControlA|ctionPro|
|000003b0| 63 20 72 6f 75 74 69 6e | 65 49 4c 69 73 74 69 6e |c routin|eIListin|
|000003c0| 67 20 31 2d 33 09 0d 43 | 72 65 61 74 69 6e 67 20 |g 1-3..C|reating |
|000003d0| 61 20 72 6f 75 74 69 6e | 65 20 64 65 73 63 72 69 |a routin|e descri|
|000003e0| 70 74 6f 72 20 66 6f 72 | 20 61 20 63 6f 6e 74 72 |ptor for| a contr|
|000003f0| 6f 6c 20 61 63 74 69 6f | 6e 20 70 72 6f 63 65 64 |ol actio|n proced|
|00000400| 75 72 65 15 4d 65 6d 6f | 72 79 20 43 6f 6e 73 69 |ure.Memo|ry Consi|
|00000410| 64 65 72 61 74 69 6f 6e | 73 1e 54 68 65 20 50 6f |deration|s.The Po|
|00000420| 77 65 72 50 43 20 4e 61 | 74 69 76 65 20 45 6e 76 |werPC Na|tive Env|
|00000430| 69 72 6f 6e 6d 65 6e 74 | 09 46 72 61 67 6d 65 6e |ironment|.Fragmen|
|00000440| 74 73 1a 54 68 65 20 53 | 74 72 75 63 74 75 72 65 |ts.The S|tructure|
|00000450| 20 6f 66 20 46 72 61 67 | 6d 65 6e 74 73 13 49 6d | of Frag|ments.Im|
|00000460| 70 6f 72 74 73 20 61 6e | 64 20 45 78 70 6f 72 74 |ports an|d Export|
|00000470| 73 29 46 69 67 75 72 65 | 20 31 2d 32 09 43 72 65 |s)Figure| 1-2.Cre|
|00000480| 61 74 69 6e 67 20 69 6d | 70 6f 72 74 73 20 69 6e |ating im|ports in|
|00000490| 20 61 20 66 72 61 67 6d | 65 6e 74 2f 4c 69 73 74 | a fragm|ent/List|
|000004a0| 69 6e 67 20 31 2d 34 09 | 54 65 73 74 69 6e 67 20 |ing 1-4.|Testing |
|000004b0| 66 6f 72 20 75 6e 72 65 | 73 6f 6c 76 65 64 20 73 |for unre|solved s|
|000004c0| 6f 66 74 20 69 6d 70 6f | 72 74 73 15 54 68 65 20 |oft impo|rts.The |
|000004d0| 54 61 62 6c 65 20 6f 66 | 20 43 6f 6e 74 65 6e 74 |Table of| Content|
|000004e0| 73 1f 46 69 67 75 72 65 | 20 31 2d 33 09 0d 41 20 |s.Figure| 1-3..A |
|000004f0| 74 72 61 6e 73 69 74 69 | 6f 6e 20 76 65 63 74 6f |transiti|on vecto|
|00000500| 72 10 53 70 65 63 69 61 | 6c 20 52 6f 75 74 69 6e |r.Specia|l Routin|
|00000510| 65 73 10 46 72 61 67 6d | 65 6e 74 20 53 74 6f 72 |es.Fragm|ent Stor|
|00000520| 61 67 65 31 46 69 67 75 | 72 65 20 31 2d 34 09 54 |age1Figu|re 1-4.T|
|00000530| 68 65 20 73 74 72 75 63 | 74 75 72 65 20 6f 66 20 |he struc|ture of |
|00000540| 61 20 50 6f 77 65 72 50 | 43 20 61 70 70 6c 69 63 |a PowerP|C applic|
|00000550| 61 74 69 6f 6e 2f 46 69 | 67 75 72 65 20 31 2d 35 |ation/Fi|gure 1-5|
|00000560| 09 54 68 65 20 73 74 72 | 75 63 74 75 72 65 20 6f |.The str|ucture o|
|00000570| 66 20 61 20 36 38 30 78 | 30 20 61 70 70 6c 69 63 |f a 680x|0 applic|
|00000580| 61 74 69 6f 6e 36 4c 69 | 73 74 69 6e 67 20 31 2d |ation6Li|sting 1-|
|00000590| 35 09 54 68 65 20 52 65 | 7a 20 69 6e 70 75 74 20 |5.The Re|z input |
|000005a0| 66 6f 72 20 61 20 73 61 | 6d 70 6c 65 20 27 63 66 |for a sa|mple 'cf|
|000005b0| 72 67 27 20 72 65 73 6f | 75 72 63 65 2d 46 69 67 |rg' reso|urce-Fig|
|000005c0| 75 72 65 20 31 2d 36 09 | 54 68 65 20 73 74 72 75 |ure 1-6.|The stru|
|000005d0| 63 74 75 72 65 20 6f 66 | 20 61 20 66 61 74 20 61 |cture of| a fat a|
|000005e0| 70 70 6c 69 63 61 74 69 | 6f 6e 14 45 78 65 63 75 |pplicati|on.Execu|
|000005f0| 74 61 62 6c 65 20 52 65 | 73 6f 75 72 63 65 73 33 |table Re|sources3|
|00000600| 46 69 67 75 72 65 20 31 | 2d 37 09 54 68 65 20 73 |Figure 1|-7.The s|
|00000610| 74 72 75 63 74 75 72 65 | 20 6f 66 20 61 6e 20 61 |tructure| of an a|
|00000620| 63 63 65 6c 65 72 61 74 | 65 64 20 72 65 73 6f 75 |ccelerat|ed resou|
|00000630| 72 63 65 3a 4c 69 73 74 | 69 6e 67 20 31 2d 36 09 |rce:List|ing 1-6.|
|00000640| 52 65 7a 20 69 6e 70 75 | 74 20 66 6f 72 20 61 20 |Rez inpu|t for a |
|00000650| 6c 69 73 74 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 |list def|inition |
|00000660| 70 72 6f 63 65 64 75 72 | 65 20 73 74 75 62 2e 46 |procedur|e stub.F|
|00000670| 69 67 75 72 65 20 31 2d | 38 09 54 68 65 20 73 74 |igure 1-|8.The st|
|00000680| 72 75 63 74 75 72 65 20 | 6f 66 20 61 20 70 72 69 |ructure |of a pri|
|00000690| 76 61 74 65 20 72 65 73 | 6f 75 72 63 65 29 4c 69 |vate res|ource)Li|
|000006a0| 73 74 69 6e 67 20 31 2d | 37 09 55 73 69 6e 67 20 |sting 1-|7.Using |
|000006b0| 61 6e 20 61 63 63 65 6c | 65 72 61 74 65 64 20 72 |an accel|erated r|
|000006c0| 65 73 6f 75 72 63 65 4a | 4c 69 73 74 69 6e 67 20 |esourceJ|Listing |
|000006d0| 31 2d 38 09 53 6f 6d 65 | 20 61 63 63 65 70 74 61 |1-8.Some| accepta|
|000006e0| 62 6c 65 20 67 6c 6f 62 | 61 6c 20 64 65 63 6c 61 |ble glob|al decla|
|000006f0| 72 61 74 69 6f 6e 73 20 | 69 6e 20 61 6e 20 61 63 |rations |in an ac|
|00000700| 63 65 6c 65 72 61 74 65 | 64 20 72 65 73 6f 75 72 |celerate|d resour|
|00000710| 63 65 55 4c 69 73 74 69 | 6e 67 20 31 2d 39 09 53 |ceUListi|ng 1-9.S|
|00000720| 6f 6d 65 20 75 6e 61 63 | 63 65 70 74 61 62 6c 65 |ome unac|ceptable|
|00000730| 20 67 6c 6f 62 61 6c 20 | 64 65 63 6c 61 72 61 74 | global |declarat|
|00000740| 69 6f 6e 73 20 61 6e 64 | 20 63 6f 64 65 20 69 6e |ions and| code in|
|00000750| 20 61 6e 20 61 63 63 65 | 6c 65 72 61 74 65 64 20 | an acce|lerated |
|00000760| 72 65 73 6f 75 72 63 65 | 25 4c 69 73 74 69 6e 67 |resource|%Listing|
|00000770| 20 31 2d 31 30 09 55 73 | 69 6e 67 20 61 20 70 72 | 1-10.Us|ing a pr|
|00000780| 69 76 61 74 65 20 72 65 | 73 6f 75 72 63 65 13 43 |ivate re|source.C|
|00000790| 61 6c 6c 69 6e 67 20 43 | 6f 6e 76 65 6e 74 69 6f |alling C|onventio|
|000007a0| 6e 73 1e 0d 54 68 65 20 | 36 38 30 78 30 20 43 61 |ns..The |680x0 Ca|
|000007b0| 6c 6c 69 6e 67 20 43 6f | 6e 76 65 6e 74 69 6f 6e |lling Co|nvention|
|000007c0| 73 1e 46 69 67 75 72 65 | 20 31 2d 39 09 41 20 36 |s.Figure| 1-9.A 6|
|000007d0| 38 30 78 30 20 73 74 61 | 63 6b 20 66 72 61 6d 65 |80x0 sta|ck frame|
|000007e0| 1f 54 68 65 20 50 6f 77 | 65 72 50 43 20 43 61 6c |.The Pow|erPC Cal|
|000007f0| 6c 69 6e 67 20 43 6f 6e | 76 65 6e 74 69 6f 6e 73 |ling Con|ventions|
|00000800| 1d 46 69 67 75 72 65 20 | 31 2d 31 30 09 54 68 65 |.Figure |1-10.The|
|00000810| 20 50 6f 77 65 72 50 43 | 20 73 74 61 63 6b 39 46 | PowerPC| stack9F|
|00000820| 69 67 75 72 65 20 31 2d | 31 31 09 54 68 65 20 73 |igure 1-|11.The s|
|00000830| 74 72 75 63 74 75 72 65 | 20 6f 66 20 61 20 73 74 |tructure| of a st|
|00000840| 61 63 6b 20 66 72 61 6d | 65 d5 73 20 6c 69 6e 6b |ack fram|e.s link|
|00000850| 61 67 65 20 61 72 65 61 | 18 46 69 67 75 72 65 20 |age area|.Figure |
|00000860| 31 2d 31 32 09 54 68 65 | 20 52 65 64 20 5a 6f 6e |1-12.The| Red Zon|
|00000870| 65 11 50 61 72 61 6d 65 | 74 65 72 20 50 61 73 73 |e.Parame|ter Pass|
|00000880| 69 6e 67 3f 46 69 67 75 | 72 65 20 31 2d 31 33 09 |ing?Figu|re 1-13.|
|00000890| 54 68 65 20 6f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |The orga|nization|
|000008a0| 20 6f 66 20 74 68 65 20 | 70 61 72 61 6d 65 74 65 | of the |paramete|
|000008b0| 72 20 61 72 65 61 20 6f | 6e 20 74 68 65 20 73 74 |r area o|n the st|
|000008c0| 61 63 6b 10 49 6d 70 6f | 72 74 20 4c 69 62 72 61 |ack.Impo|rt Libra|
|000008d0| 72 69 65 73 1a 54 68 65 | 20 4f 72 67 61 6e 69 7a |ries.The| Organiz|
|000008e0| 61 74 69 6f 6e 20 6f 66 | 20 4d 65 6d 6f 72 79 0d |ation of| Memory.|
|000008f0| 0d 46 69 6c 65 20 4d 61 | 70 70 69 6e 67 42 46 69 |.File Ma|ppingBFi|
|00000900| 67 75 72 65 20 31 2d 31 | 34 09 0d 4f 72 67 61 6e |gure 1-1|4..Organ|
|00000910| 69 7a 61 74 69 6f 6e 20 | 6f 66 20 6d 65 6d 6f 72 |ization |of memor|
|00000920| 79 20 77 68 65 6e 20 76 | 69 72 74 75 61 6c 20 6d |y when v|irtual m|
|00000930| 65 6d 6f 72 79 20 69 73 | 20 65 6e 61 62 6c 65 64 |emory is| enabled|
|00000940| 46 46 69 67 75 72 65 20 | 31 2d 31 35 09 0d 4f 72 |FFigure |1-15..Or|
|00000950| 67 61 6e 69 7a 61 74 69 | 6f 6e 20 6f 66 20 6d 65 |ganizati|on of me|
|00000960| 6d 6f 72 79 20 77 68 65 | 6e 20 76 69 72 74 75 61 |mory whe|n virtua|
|00000970| 6c 20 6d 65 6d 6f 72 79 | 20 69 73 20 6e 6f 74 20 |l memory| is not |
|00000980| 65 6e 61 62 6c 65 64 14 | 54 68 65 20 53 79 73 74 |enabled.|The Syst|
|00000990| 65 6d 20 50 61 72 74 69 | 74 69 6f 6e 16 41 70 70 |em Parti|tion.App|
|000009a0| 6c 69 63 61 74 69 6f 6e | 20 50 61 72 74 69 74 69 |lication| Partiti|
|000009b0| 6f 6e 73 42 4c 69 73 74 | 69 6e 67 20 31 2d 31 31 |onsBList|ing 1-11|
|000009c0| 09 44 65 63 6c 61 72 69 | 6e 67 20 61 6e 20 61 70 |.Declari|ng an ap|
|000009d0| 70 6c 69 63 61 74 69 6f | 6e d5 73 20 51 75 69 63 |plicatio|n.s Quic|
|000009e0| 6b 44 72 61 77 20 67 6c | 6f 62 61 6c 20 76 61 72 |kDraw gl|obal var|
|000009f0| 69 61 62 6c 65 73 3c 46 | 69 67 75 72 65 20 31 2d |iables<F|igure 1-|
|00000a00| 31 36 09 54 68 65 20 73 | 74 72 75 63 74 75 72 65 |16.The s|tructure|
|00000a10| 20 6f 66 20 61 20 50 6f | 77 65 72 50 43 20 61 70 | of a Po|werPC ap|
|00000a20| 70 6c 69 63 61 74 69 6f | 6e 20 70 61 72 74 69 74 |plicatio|n partit|
|00000a30| 69 6f 6e 2f 4c 69 73 74 | 69 6e 67 20 31 2d 31 32 |ion/List|ing 1-12|
|00000a40| 09 41 20 73 61 6d 70 6c | 65 20 36 38 30 78 30 20 |.A sampl|e 680x0 |
|00000a50| 56 42 4c 20 74 61 73 6b | 20 64 65 66 69 6e 69 74 |VBL task| definit|
|00000a60| 69 6f 6e 32 4c 69 73 74 | 69 6e 67 20 31 2d 31 33 |ion2List|ing 1-13|
|00000a70| 09 41 20 63 6f 6e 64 69 | 74 69 6f 6e 61 6c 69 7a |.A condi|tionaliz|
|00000a80| 65 64 20 56 42 4c 20 74 | 61 73 6b 20 64 65 66 69 |ed VBL t|ask defi|
|00000a90| 6e 69 74 69 6f 6e 0e 44 | 61 74 61 20 41 6c 69 67 |nition.D|ata Alig|
|00000aa0| 6e 6d 65 6e 74 1d 43 6f | 6d 70 61 74 69 62 69 6c |nment.Co|mpatibil|
|00000ab0| 69 74 79 20 61 6e 64 20 | 50 65 72 66 6f 72 6d 61 |ity and |Performa|
|00000ac0| 6e 63 65 07 50 61 74 63 | 68 65 73 2e 4c 69 73 74 |nce.Patc|hes.List|
|00000ad0| 69 6e 67 20 31 2d 31 34 | 09 50 61 74 63 68 69 6e |ing 1-14|.Patchin|
|00000ae0| 67 20 61 6e 20 4f 70 65 | 72 61 74 69 6e 67 20 53 |g an Ope|rating S|
|00000af0| 79 73 74 65 6d 20 74 72 | 61 70 12 54 68 65 20 4d |ystem tr|ap.The M|
|00000b00| 65 6d 6f 72 79 20 4d 61 | 6e 61 67 65 72 55 46 69 |emory Ma|nagerUFi|
|00000b10| 67 75 72 65 20 31 2d 31 | 37 09 0d 54 68 65 20 4d |gure 1-1|7..The M|
|00000b20| 65 6d 6f 72 79 20 63 6f | 6e 74 72 6f 6c 20 70 61 |emory co|ntrol pa|
|00000b30| 6e 65 6c 20 66 6f 72 20 | 50 6f 77 65 72 50 43 20 |nel for |PowerPC |
|00000b40| 70 72 6f 63 65 73 73 6f | 72 2d 62 61 73 65 64 20 |processo|r-based |
|00000b50| 4d 61 63 69 6e 74 6f 73 | 68 20 63 6f 6d 70 75 74 |Macintos|h comput|
|00000b60| 65 72 73 12 50 65 72 66 | 6f 72 6d 61 6e 63 65 20 |ers.Perf|ormance |
|00000b70| 54 75 6e 69 6e 67 0e 0d | 4d 6f 64 65 20 53 77 69 |Tuning..|Mode Swi|
|00000b80| 74 63 68 65 73 38 4c 69 | 73 74 69 6e 67 20 31 2d |tches8Li|sting 1-|
|00000b90| 31 35 09 0d 57 61 69 74 | 69 6e 67 20 74 6f 20 63 |15..Wait|ing to c|
|00000ba0| 61 6c 6c 20 74 68 65 20 | 57 61 69 74 4e 65 78 74 |all the |WaitNext|
|00000bb0| 45 76 65 6e 74 20 66 75 | 6e 63 74 69 6f 6e 12 52 |Event fu|nction.R|
|00000bc0| 6f 75 74 69 6e 65 20 50 | 61 72 61 6d 65 74 65 72 |outine P|arameter|
|00000bd0| 73 12 4d 69 78 65 64 20 | 4d 6f 64 65 20 4d 61 6e |s.Mixed |Mode Man|
|00000be0| 61 67 65 72 1d 0d 41 62 | 6f 75 74 20 74 68 65 20 |ager..Ab|out the |
|00000bf0| 4d 69 78 65 64 20 4d 6f | 64 65 20 4d 61 6e 61 67 |Mixed Mo|de Manag|
|00000c00| 65 72 0d 45 78 74 65 72 | 6e 61 6c 20 43 6f 64 65 |er.Exter|nal Code|
|00000c10| 12 50 72 6f 63 65 64 75 | 72 65 20 50 6f 69 6e 74 |.Procedu|re Point|
|00000c20| 65 72 73 2f 46 69 67 75 | 72 65 20 32 2d 31 09 36 |ers/Figu|re 2-1.6|
|00000c30| 38 30 78 30 20 61 6e 64 | 20 50 6f 77 65 72 50 43 |80x0 and| PowerPC|
|00000c40| 20 70 72 6f 63 65 64 75 | 72 65 20 70 6f 69 6e 74 | procedu|re point|
|00000c50| 65 72 73 0d 4d 6f 64 65 | 20 53 77 69 74 63 68 65 |ers.Mode| Switche|
|00000c60| 73 24 43 61 6c 6c 69 6e | 67 20 50 6f 77 65 72 50 |s$Callin|g PowerP|
|00000c70| 43 20 43 6f 64 65 20 46 | 72 6f 6d 20 36 38 30 78 |C Code F|rom 680x|
|00000c80| 30 20 43 6f 64 65 38 46 | 69 67 75 72 65 20 32 2d |0 Code8F|igure 2-|
|00000c90| 32 09 43 61 6c 6c 69 6e | 67 20 50 6f 77 65 72 50 |2.Callin|g PowerP|
|00000ca0| 43 20 63 6f 64 65 20 66 | 72 6f 6d 20 61 20 36 38 |C code f|rom a 68|
|00000cb0| 30 78 30 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2a |0x0 appl|ication*|
|00000cc0| 46 69 67 75 72 65 20 32 | 2d 33 09 0d 54 68 65 20 |Figure 2|-3..The |
|00000cd0| 73 74 61 63 6b 20 62 65 | 66 6f 72 65 20 61 20 6d |stack be|fore a m|
|00000ce0| 6f 64 65 20 73 77 69 74 | 63 68 2b 46 69 67 75 72 |ode swit|ch+Figur|
|00000cf0| 65 20 32 2d 34 09 0d 41 | 20 36 38 30 78 30 2d 74 |e 2-4..A| 680x0-t|
|00000d00| 6f 2d 50 6f 77 65 72 50 | 43 20 73 77 69 74 63 68 |o-PowerP|C switch|
|00000d10| 20 66 72 61 6d 65 24 43 | 61 6c 6c 69 6e 67 20 36 | frame$C|alling 6|
|00000d20| 38 30 78 30 20 43 6f 64 | 65 20 46 72 6f 6d 20 50 |80x0 Cod|e From P|
|00000d30| 6f 77 65 72 50 43 20 43 | 6f 64 65 30 4c 69 73 74 |owerPC C|ode0List|
|00000d40| 69 6e 67 20 32 2d 31 09 | 53 61 6d 70 6c 65 20 67 |ing 2-1.|Sample g|
|00000d50| 6c 75 65 20 63 6f 64 65 | 20 66 6f 72 20 61 20 36 |lue code| for a 6|
|00000d60| 38 30 78 30 20 72 6f 75 | 74 69 6e 65 2a 46 69 67 |80x0 rou|tine*Fig|
|00000d70| 75 72 65 20 32 2d 35 09 | 41 20 50 6f 77 65 72 50 |ure 2-5.|A PowerP|
|00000d80| 43 2d 74 6f 2d 36 38 30 | 78 30 20 73 77 69 74 63 |C-to-680|x0 switc|
|00000d90| 68 20 66 72 61 6d 65 1c | 55 73 69 6e 67 20 74 68 |h frame.|Using th|
|00000da0| 65 20 4d 69 78 65 64 20 | 4d 6f 64 65 20 4d 61 6e |e Mixed |Mode Man|
|00000db0| 61 67 65 72 20 53 70 65 | 63 69 66 79 69 6e 67 20 |ager Spe|cifying |
|00000dc0| 50 72 6f 63 65 64 75 72 | 65 20 49 6e 66 6f 72 6d |Procedur|e Inform|
|00000dd0| 61 74 69 6f 6e 3b 46 69 | 67 75 72 65 20 32 2d 36 |ation;Fi|gure 2-6|
|00000de0| 09 0d 50 72 6f 63 65 64 | 75 72 65 20 69 6e 66 6f |..Proced|ure info|
|00000df0| 72 6d 61 74 69 6f 6e 20 | 66 6f 72 20 61 20 73 74 |rmation |for a st|
|00000e00| 61 63 6b 2d 62 61 73 65 | 64 20 72 6f 75 74 69 6e |ack-base|d routin|
|00000e10| 65 3e 46 69 67 75 72 65 | 20 32 2d 37 09 0d 50 72 |e>Figure| 2-7..Pr|
|00000e20| 6f 63 65 64 75 72 65 20 | 69 6e 66 6f 72 6d 61 74 |ocedure |informat|
|00000e30| 69 6f 6e 20 66 6f 72 20 | 61 20 72 65 67 69 73 74 |ion for |a regist|
|00000e40| 65 72 2d 62 61 73 65 64 | 20 72 6f 75 74 69 6e 65 |er-based| routine|
|00000e50| 53 54 61 62 6c 65 20 32 | 2d 31 09 4c 69 6d 69 74 |STable 2|-1.Limit|
|00000e60| 73 20 6f 6e 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |s on the| number |
|00000e70| 6f 66 20 73 70 65 63 69 | 66 69 61 62 6c 65 20 70 |of speci|fiable p|
|00000e80| 61 72 61 6d 65 74 65 72 | 73 20 69 6e 20 61 20 70 |arameter|s in a p|
|00000e90| 72 6f 63 65 64 75 72 65 | 20 69 6e 66 6f 72 6d 61 |rocedure| informa|
|00000ea0| 74 69 6f 6e 22 55 73 69 | 6e 67 20 55 6e 69 76 65 |tion"Usi|ng Unive|
|00000eb0| 72 73 61 6c 20 50 72 6f | 63 65 64 75 72 65 20 50 |rsal Pro|cedure P|
|00000ec0| 6f 69 6e 74 65 72 73 2f | 4c 69 73 74 69 6e 67 20 |ointers/|Listing |
|00000ed0| 32 2d 32 09 43 72 65 61 | 74 69 6e 67 20 67 6c 6f |2-2.Crea|ting glo|
|00000ee0| 62 61 6c 20 72 6f 75 74 | 69 6e 65 20 64 65 73 63 |bal rout|ine desc|
|00000ef0| 72 69 70 74 6f 72 73 2f | 4c 69 73 74 69 6e 67 20 |riptors/|Listing |
|00000f00| 32 2d 33 09 0d 43 72 65 | 61 74 69 6e 67 20 6c 6f |2-3..Cre|ating lo|
|00000f10| 63 61 6c 20 72 6f 75 74 | 69 6e 65 20 64 65 73 63 |cal rout|ine desc|
|00000f20| 72 69 70 74 6f 72 73 20 | 55 73 69 6e 67 20 53 74 |riptors |Using St|
|00000f30| 61 74 69 63 20 52 6f 75 | 74 69 6e 65 20 44 65 73 |atic Rou|tine Des|
|00000f40| 63 72 69 70 74 6f 72 73 | 30 4c 69 73 74 69 6e 67 |criptors|0Listing|
|00000f50| 20 32 2d 34 09 0d 43 72 | 65 61 74 69 6e 67 20 73 | 2-4..Cr|eating s|
|00000f60| 74 61 74 69 63 20 72 6f | 75 74 69 6e 65 20 64 65 |tatic ro|utine de|
|00000f70| 73 63 72 69 70 74 6f 72 | 73 30 4c 69 73 74 69 6e |scriptor|s0Listin|
|00000f80| 67 20 32 2d 35 09 42 75 | 69 6c 64 69 6e 67 20 61 |g 2-5.Bu|ilding a|
|00000f90| 20 73 74 61 74 69 63 20 | 72 6f 75 74 69 6e 65 20 | static |routine |
|00000fa0| 64 65 73 63 72 69 70 74 | 6f 72 1d 45 78 65 63 75 |descript|or.Execu|
|00000fb0| 74 69 6e 67 20 52 65 73 | 6f 75 72 63 65 2d 42 61 |ting Res|ource-Ba|
|00000fc0| 73 65 64 20 43 6f 64 65 | 3c 46 69 67 75 72 65 20 |sed Code|<Figure |
|00000fd0| 32 2d 38 09 0d 47 65 6e | 65 72 61 6c 20 73 74 72 |2-8..Gen|eral str|
|00000fe0| 75 63 74 75 72 65 20 6f | 66 20 61 6e 20 65 78 65 |ucture o|f an exe|
|00000ff0| 63 75 74 61 62 6c 65 20 | 63 6f 64 65 20 72 65 73 |cutable |code res|
|00001000| 6f 75 72 63 65 2f 46 69 | 67 75 72 65 20 32 2d 39 |ource/Fi|gure 2-9|
|00001010| 09 0d 47 65 6e 65 72 61 | 6c 20 73 74 72 75 63 74 |..Genera|l struct|
|00001020| 75 72 65 20 6f 66 20 61 | 20 66 61 74 20 72 65 73 |ure of a| fat res|
|00001030| 6f 75 72 63 65 1c 4d 69 | 78 65 64 20 4d 6f 64 65 |ource.Mi|xed Mode|
|00001040| 20 4d 61 6e 61 67 65 72 | 20 52 65 66 65 72 65 6e | Manager| Referen|
|00001050| 63 65 0a 0d 43 6f 6e 73 | 74 61 6e 74 73 18 52 6f |ce..Cons|tants.Ro|
|00001060| 75 74 69 6e 65 20 44 65 | 73 63 72 69 70 74 6f 72 |utine De|scriptor|
|00001070| 20 46 6c 61 67 73 15 50 | 72 6f 63 65 64 75 72 65 | Flags.P|rocedure|
|00001080| 20 49 6e 66 6f 72 6d 61 | 74 69 6f 6e 0e 0d 52 6f | Informa|tion..Ro|
|00001090| 75 74 69 6e 65 20 46 6c | 61 67 73 1d 49 6e 73 74 |utine Fl|ags.Inst|
|000010a0| 72 75 63 74 69 6f 6e 20 | 53 65 74 20 41 72 63 68 |ruction |Set Arch|
|000010b0| 69 74 65 63 74 75 72 65 | 73 0f 44 61 74 61 20 53 |itecture|s.Data S|
|000010c0| 74 72 75 63 74 75 72 65 | 73 0f 52 6f 75 74 69 6e |tructure|s.Routin|
|000010d0| 65 20 52 65 63 6f 72 64 | 73 13 52 6f 75 74 69 6e |e Record|s.Routin|
|000010e0| 65 20 44 65 73 63 72 69 | 70 74 6f 72 73 1b 4d 69 |e Descri|ptors.Mi|
|000010f0| 78 65 64 20 4d 6f 64 65 | 20 4d 61 6e 61 67 65 72 |xed Mode| Manager|
|00001100| 20 52 6f 75 74 69 6e 65 | 73 2d 43 72 65 61 74 69 | Routine|s-Creati|
|00001110| 6e 67 20 61 6e 64 20 44 | 69 73 70 6f 73 69 6e 67 |ng and D|isposing|
|00001120| 20 6f 66 20 52 6f 75 74 | 69 6e 65 20 44 65 73 63 | of Rout|ine Desc|
|00001130| 72 69 70 74 6f 72 73 14 | 4e 65 77 52 6f 75 74 69 |riptors.|NewRouti|
|00001140| 6e 65 44 65 73 63 72 69 | 70 74 6f 72 17 4e 65 77 |neDescri|ptor.New|
|00001150| 46 61 74 52 6f 75 74 69 | 6e 65 44 65 73 63 72 69 |FatRouti|neDescri|
|00001160| 70 74 6f 72 18 44 69 73 | 70 6f 73 65 52 6f 75 74 |ptor.Dis|poseRout|
|00001170| 69 6e 65 44 65 73 63 72 | 69 70 74 6f 72 32 0d 43 |ineDescr|iptor2.C|
|00001180| 61 6c 6c 69 6e 67 20 52 | 6f 75 74 69 6e 65 73 20 |alling R|outines |
|00001190| 76 69 61 20 55 6e 69 76 | 65 72 73 61 6c 20 50 72 |via Univ|ersal Pr|
|000011a0| 6f 63 65 64 75 72 65 20 | 50 6f 69 6e 74 65 72 73 |ocedure |Pointers|
|000011b0| 11 43 61 6c 6c 55 6e 69 | 76 65 72 73 61 6c 50 72 |.CallUni|versalPr|
|000011c0| 6f 63 17 43 61 6c 6c 4f | 53 54 72 61 70 55 6e 69 |oc.CallO|STrapUni|
|000011d0| 76 65 72 73 61 6c 50 72 | 6f 63 2a 0d 44 65 74 65 |versalPr|oc*.Dete|
|000011e0| 72 6d 69 6e 69 6e 67 20 | 49 6e 73 74 72 75 63 74 |rmining |Instruct|
|000011f0| 69 6f 6e 20 53 65 74 20 | 41 72 63 68 69 74 65 63 |ion Set |Architec|
|00001200| 74 75 72 65 73 0d 47 65 | 74 43 75 72 72 65 6e 74 |tures.Ge|tCurrent|
|00001210| 49 53 41 22 0d 53 75 6d | 6d 61 72 79 20 6f 66 20 |ISA".Sum|mary of |
|00001220| 74 68 65 20 4d 69 78 65 | 64 20 4d 6f 64 65 20 4d |the Mixe|d Mode M|
|00001230| 61 6e 61 67 65 72 15 43 | 6f 64 65 20 46 72 61 67 |anager.C|ode Frag|
|00001240| 6d 65 6e 74 20 4d 61 6e | 61 67 65 72 1f 41 62 6f |ment Man|ager.Abo|
|00001250| 75 74 20 74 68 65 20 43 | 6f 64 65 20 46 72 61 67 |ut the C|ode Frag|
|00001260| 6d 65 6e 74 20 4d 61 6e | 61 67 65 72 09 46 72 61 |ment Man|ager.Fra|
|00001270| 67 6d 65 6e 74 73 18 49 | 6d 70 6f 72 74 20 4c 69 |gments.I|mport Li|
|00001280| 62 72 61 72 79 20 53 65 | 61 72 63 68 69 6e 67 10 |brary Se|arching.|
|00001290| 56 65 72 73 69 6f 6e 20 | 43 68 65 63 6b 69 6e 67 |Version |Checking|
|000012a0| 39 4c 69 73 74 69 6e 67 | 20 33 2d 31 09 50 73 65 |9Listing| 3-1.Pse|
|000012b0| 75 64 6f 63 6f 64 65 20 | 66 6f 72 20 74 68 65 20 |udocode |for the |
|000012c0| 76 65 72 73 69 6f 6e 2d | 63 68 65 63 6b 69 6e 67 |version-|checking|
|000012d0| 20 61 6c 67 6f 72 69 74 | 68 6d 1f 55 73 69 6e 67 | algorit|hm.Using|
|000012e0| 20 74 68 65 20 43 6f 64 | 65 20 46 72 61 67 6d 65 | the Cod|e Fragme|
|000012f0| 6e 74 20 4d 61 6e 61 67 | 65 72 16 4c 6f 61 64 69 |nt Manag|er.Loadi|
|00001300| 6e 67 20 43 6f 64 65 20 | 46 72 61 67 6d 65 6e 74 |ng Code |Fragment|
|00001310| 73 2d 4c 69 73 74 69 6e | 67 20 33 2d 32 09 4c 6f |s-Listin|g 3-2.Lo|
|00001320| 61 64 69 6e 67 20 61 20 | 72 65 73 6f 75 72 63 65 |ading a |resource|
|00001330| 2d 62 61 73 65 64 20 66 | 72 61 67 6d 65 6e 74 29 |-based f|ragment)|
|00001340| 4c 69 73 74 69 6e 67 20 | 33 2d 33 09 4c 6f 61 64 |Listing |3-3.Load|
|00001350| 69 6e 67 20 61 20 64 69 | 73 6b 2d 62 61 73 65 64 |ing a di|sk-based|
|00001360| 20 66 72 61 67 6d 65 6e | 74 21 43 72 65 61 74 69 | fragmen|t!Creati|
|00001370| 6e 67 20 61 20 43 6f 64 | 65 20 46 72 61 67 6d 65 |ng a Cod|e Fragme|
|00001380| 6e 74 20 52 65 73 6f 75 | 72 63 65 45 4c 69 73 74 |nt Resou|rceEList|
|00001390| 69 6e 67 20 33 2d 34 09 | 54 68 65 20 52 65 7a 20 |ing 3-4.|The Rez |
|000013a0| 69 6e 70 75 74 20 66 6f | 72 20 61 20 74 79 70 69 |input fo|r a typi|
|000013b0| 63 61 6c 20 61 70 70 6c | 69 63 61 74 69 6f 6e d5 |cal appl|ication.|
|000013c0| 73 20 27 63 66 72 67 27 | 20 72 65 73 6f 75 72 63 |s 'cfrg'| resourc|
|000013d0| 65 48 4c 69 73 74 69 6e | 67 20 33 2d 35 09 54 68 |eHListin|g 3-5.Th|
|000013e0| 65 20 52 65 7a 20 69 6e | 70 75 74 20 66 6f 72 20 |e Rez in|put for |
|000013f0| 61 20 74 79 70 69 63 61 | 6c 20 69 6d 70 6f 72 74 |a typica|l import|
|00001400| 20 6c 69 62 72 61 72 79 | d5 73 20 27 63 66 72 67 | library|.s 'cfrg|
|00001410| 27 20 72 65 73 6f 75 72 | 63 65 2b 0d 47 65 74 74 |' resour|ce+.Gett|
|00001420| 69 6e 67 20 49 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ing Info|rmation |
|00001430| 41 62 6f 75 74 20 45 78 | 70 6f 72 74 65 64 20 53 |About Ex|ported S|
|00001440| 79 6d 62 6f 6c 73 20 4c | 69 73 74 69 6e 67 20 33 |ymbols L|isting 3|
|00001450| 2d 36 09 46 69 6e 64 69 | 6e 67 20 73 79 6d 62 6f |-6.Findi|ng symbo|
|00001460| 6c 20 6e 61 6d 65 73 20 | 0d 43 6f 64 65 20 46 72 |l names |.Code Fr|
|00001470| 61 67 6d 65 6e 74 20 4d | 61 6e 61 67 65 72 20 52 |agment M|anager R|
|00001480| 65 66 65 72 65 6e 63 65 | 0f 44 61 74 61 20 53 74 |eference|.Data St|
|00001490| 72 75 63 74 75 72 65 73 | 1d 46 72 61 67 6d 65 6e |ructures|.Fragmen|
|000014a0| 74 20 49 6e 69 74 69 61 | 6c 69 7a 61 74 69 6f 6e |t Initia|lization|
|000014b0| 20 42 6c 6f 63 6b 18 46 | 72 61 67 6d 65 6e 74 20 | Block.F|ragment |
|000014c0| 4c 6f 63 61 74 69 6f 6e | 20 52 65 63 6f 72 64 16 |Location| Record.|
|000014d0| 4d 65 6d 6f 72 79 20 4c | 6f 63 61 74 69 6f 6e 20 |Memory L|ocation |
|000014e0| 52 65 63 6f 72 64 14 44 | 69 73 6b 20 4c 6f 63 61 |Record.D|isk Loca|
|000014f0| 74 69 6f 6e 20 52 65 63 | 6f 72 64 17 53 65 67 6d |tion Rec|ord.Segm|
|00001500| 65 6e 74 20 4c 6f 63 61 | 74 69 6f 6e 20 52 65 63 |ent Loca|tion Rec|
|00001510| 6f 72 64 1e 43 6f 64 65 | 20 46 72 61 67 6d 65 6e |ord.Code| Fragmen|
|00001520| 74 20 4d 61 6e 61 67 65 | 72 20 52 6f 75 74 69 6e |t Manage|r Routin|
|00001530| 65 73 12 0d 4c 6f 61 64 | 69 6e 67 20 46 72 61 67 |es..Load|ing Frag|
|00001540| 6d 65 6e 74 73 0f 47 65 | 74 44 69 73 6b 46 72 61 |ments.Ge|tDiskFra|
|00001550| 67 6d 65 6e 74 0e 47 65 | 74 4d 65 6d 46 72 61 67 |gment.Ge|tMemFrag|
|00001560| 6d 65 6e 74 10 47 65 74 | 53 68 61 72 65 64 4c 69 |ment.Get|SharedLi|
|00001570| 62 72 61 72 79 13 55 6e | 6c 6f 61 64 69 6e 67 20 |brary.Un|loading |
|00001580| 46 72 61 67 6d 65 6e 74 | 73 0f 43 6c 6f 73 65 43 |Fragment|s.CloseC|
|00001590| 6f 6e 6e 65 63 74 69 6f | 6e 0f 46 69 6e 64 69 6e |onnectio|n.Findin|
|000015a0| 67 20 53 79 6d 62 6f 6c | 73 0a 46 69 6e 64 53 79 |g Symbol|s.FindSy|
|000015b0| 6d 62 6f 6c 0c 43 6f 75 | 6e 74 53 79 6d 62 6f 6c |mbol.Cou|ntSymbol|
|000015c0| 73 0c 47 65 74 49 6e 64 | 53 79 6d 62 6f 6c 19 46 |s.GetInd|Symbol.F|
|000015d0| 72 61 67 6d 65 6e 74 2d | 44 65 66 69 6e 65 64 20 |ragment-|Defined |
|000015e0| 52 6f 75 74 69 6e 65 73 | 20 0d 43 6f 6e 6e 65 63 |Routines| .Connec|
|000015f0| 74 69 6f 6e 49 6e 69 74 | 69 61 6c 69 7a 61 74 69 |tionInit|ializati|
|00001600| 6f 6e 52 6f 75 74 69 6e | 65 1d 0d 43 6f 6e 6e 65 |onRoutin|e..Conne|
|00001610| 63 74 69 6f 6e 54 65 72 | 6d 69 6e 61 74 69 6f 6e |ctionTer|mination|
|00001620| 52 6f 75 74 69 6e 65 09 | 52 65 73 6f 75 72 63 65 |Routine.|Resource|
|00001630| 73 1a 54 68 65 20 43 6f | 64 65 20 46 72 61 67 6d |s.The Co|de Fragm|
|00001640| 65 6e 74 20 52 65 73 6f | 75 72 63 65 43 46 69 67 |ent Reso|urceCFig|
|00001650| 75 72 65 20 33 2d 31 09 | 0d 53 74 72 75 63 74 75 |ure 3-1.|.Structu|
|00001660| 72 65 20 6f 66 20 61 20 | 63 6f 6d 70 69 6c 65 64 |re of a |compiled|
|00001670| 20 63 6f 64 65 20 66 72 | 61 67 6d 65 6e 74 20 28 | code fr|agment (|
|00001680| 27 63 66 72 67 27 29 20 | 72 65 73 6f 75 72 63 65 |'cfrg') |resource|
|00001690| 3c 46 69 67 75 72 65 20 | 33 2d 32 09 0d 54 68 65 |<Figure |3-2..The|
|000016a0| 20 66 6f 72 6d 61 74 20 | 6f 66 20 61 20 63 6f 64 | format |of a cod|
|000016b0| 65 20 66 72 61 67 6d 65 | 6e 74 20 69 6e 66 6f 72 |e fragme|nt infor|
|000016c0| 6d 61 74 69 6f 6e 20 72 | 65 63 6f 72 64 25 0d 53 |mation r|ecord%.S|
|000016d0| 75 6d 6d 61 72 79 20 6f | 66 20 74 68 65 20 43 6f |ummary o|f the Co|
|000016e0| 64 65 20 46 72 61 67 6d | 65 6e 74 20 4d 61 6e 61 |de Fragm|ent Mana|
|000016f0| 67 65 72 11 45 78 63 65 | 70 74 69 6f 6e 20 4d 61 |ger.Exce|ption Ma|
|00001700| 6e 61 67 65 72 1b 41 62 | 6f 75 74 20 74 68 65 20 |nager.Ab|out the |
|00001710| 45 78 63 65 70 74 69 6f | 6e 20 4d 61 6e 61 67 65 |Exceptio|n Manage|
|00001720| 72 12 45 78 63 65 70 74 | 69 6f 6e 20 43 6f 6e 74 |r.Except|ion Cont|
|00001730| 65 78 74 73 14 0d 54 79 | 70 65 73 20 6f 66 20 45 |exts..Ty|pes of E|
|00001740| 78 63 65 70 74 69 6f 6e | 73 1b 55 73 69 6e 67 20 |xception|s.Using |
|00001750| 74 68 65 20 45 78 63 65 | 70 74 69 6f 6e 20 4d 61 |the Exce|ption Ma|
|00001760| 6e 61 67 65 72 1f 49 6e | 73 74 61 6c 6c 69 6e 67 |nager.In|stalling|
|00001770| 20 61 6e 20 45 78 63 65 | 70 74 69 6f 6e 20 48 61 | an Exce|ption Ha|
|00001780| 6e 64 6c 65 72 2b 4c 69 | 73 74 69 6e 67 20 34 2d |ndler+Li|sting 4-|
|00001790| 31 09 49 6e 73 74 61 6c | 6c 69 6e 67 20 61 6e 20 |1.Instal|ling an |
|000017a0| 65 78 63 65 70 74 69 6f | 6e 20 68 61 6e 64 6c 65 |exceptio|n handle|
|000017b0| 72 1c 57 72 69 74 69 6e | 67 20 61 6e 20 45 78 63 |r.Writin|g an Exc|
|000017c0| 65 70 74 69 6f 6e 20 48 | 61 6e 64 6c 65 72 26 4c |eption H|andler&L|
|000017d0| 69 73 74 69 6e 67 20 34 | 2d 32 09 41 20 6e 61 74 |isting 4|-2.A nat|
|000017e0| 69 76 65 20 65 78 63 65 | 70 74 69 6f 6e 20 68 61 |ive exce|ption ha|
|000017f0| 6e 64 6c 65 72 1b 45 78 | 63 65 70 74 69 6f 6e 20 |ndler.Ex|ception |
|00001800| 4d 61 6e 61 67 65 72 20 | 52 65 66 65 72 65 6e 63 |Manager |Referenc|
|00001810| 65 09 43 6f 6e 73 74 61 | 6e 74 73 0f 45 78 63 65 |e.Consta|nts.Exce|
|00001820| 70 74 69 6f 6e 20 4b 69 | 6e 64 73 16 4d 65 6d 6f |ption Ki|nds.Memo|
|00001830| 72 79 20 52 65 66 65 72 | 65 6e 63 65 20 4b 69 6e |ry Refer|ence Kin|
|00001840| 64 73 10 0d 44 61 74 61 | 20 53 74 72 75 63 74 75 |ds..Data| Structu|
|00001850| 72 65 73 1b 4d 61 63 68 | 69 6e 65 20 49 6e 66 6f |res.Mach|ine Info|
|00001860| 72 6d 61 74 69 6f 6e 20 | 52 65 63 6f 72 64 73 1c |rmation |Records.|
|00001870| 52 65 67 69 73 74 65 72 | 20 49 6e 66 6f 72 6d 61 |Register| Informa|
|00001880| 74 69 6f 6e 20 52 65 63 | 6f 72 64 73 22 46 6c 6f |tion Rec|ords"Flo|
|00001890| 61 74 69 6e 67 2d 50 6f | 69 6e 74 20 49 6e 66 6f |ating-Po|int Info|
|000018a0| 72 6d 61 74 69 6f 6e 20 | 52 65 63 6f 72 64 73 18 |rmation |Records.|
|000018b0| 4d 65 6d 6f 72 79 20 45 | 78 63 65 70 74 69 6f 6e |Memory E|xception|
|000018c0| 20 52 65 63 6f 72 64 73 | 1d 45 78 63 65 70 74 69 | Records|.Excepti|
|000018d0| 6f 6e 20 49 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 52 |on Infor|mation R|
|000018e0| 65 63 6f 72 64 73 1b 0d | 45 78 63 65 70 74 69 6f |ecords..|Exceptio|
|000018f0| 6e 20 4d 61 6e 61 67 65 | 72 20 52 6f 75 74 69 6e |n Manage|r Routin|
|00001900| 65 73 17 49 6e 73 74 61 | 6c 6c 45 78 63 65 70 74 |es.Insta|llExcept|
|00001910| 69 6f 6e 48 61 6e 64 6c | 65 72 1c 41 70 70 6c 69 |ionHandl|er.Appli|
|00001920| 63 61 74 69 6f 6e 2d 44 | 65 66 69 6e 65 64 20 52 |cation-D|efined R|
|00001930| 6f 75 74 69 6e 65 73 13 | 0d 4d 79 45 78 63 65 70 |outines.|.MyExcep|
|00001940| 74 69 6f 6e 48 61 6e 64 | 6c 65 72 21 0d 53 75 6d |tionHand|ler!.Sum|
|00001950| 6d 61 72 79 20 6f 66 20 | 74 68 65 20 45 78 63 65 |mary of |the Exce|
|00001960| 70 74 69 6f 6e 20 4d 61 | 6e 61 67 65 72 09 0d 47 |ption Ma|nager..G|
|00001970| 6c 6f 73 73 61 72 79 06 | 0d 49 6e 64 65 78 |lossary.|.Index |
+--------+-------------------------+-------------------------+--------+--------+